package com.acmetelecom.fakes;

import java.util.HashMap;
import java.util.List;

import com.acmetelecom.Generator;
import com.acmetelecom.LineItem;
import com.acmetelecom.customer.Customer;

public class FakeGenerator implements Generator{

	public static HashMap<String,Double> bills = new HashMap<String,Double>();
	
	@Override
	public void send(Customer customer, List<LineItem> calls, String totalBill) {
		System.out.println("Customer: "+customer.getFullName() + ", Bill: "+totalBill);
		bills.put(customer.getFullName(), Double.parseDouble(totalBill));
	}
}
